package com.wltt.product.ahuthr.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wltt.product.ahuthr.model.vo.base.AgreementAttributeVO;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class AgreementAddReq implements Serializable {

    /**
     * 人员id
     */
    private Long userId;

    /**
     * 合同类型id
     */
    private Long agreementTypeId;

    /**
     * 合同名称
     */
    private String agreementName;

    /**
     * 合同签订时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date agreementSignDate;

    /**
     * 合同开始时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date agreementStartDate;

    /**
     * 合同截至时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date agreementEndDate;

    /**
     * 附件id
     */
    private List<Long> attachFileIdList;

    /**
     * 合同属性集合
     */
    private List<AgreementAttributeVO> agreementAttributeList;
}
